package crm.system.mapper;

import java.util.List;
import java.util.Map;

import crm.base.mapper.BaseMapper;
import crm.base.model.Page;
import crm.system.entity.Agent;

public interface AgentMapper extends BaseMapper<Agent> {
	
	public Agent getAgentByUserName(String userName);
	
	public Agent getAgentRoleByUserName(String userName);
	
	public Agent getAgentAuthoritiesByUserName(String userName);
	
	public List<Agent> getAgentList(Map<String, ?> params, Page page);

}
